package containers;

import java.awt.BorderLayout;
import java.awt.Point;
import java.awt.Window;

import javax.swing.JLabel;
import javax.swing.JWindow;

public class JWindowExample 
{
	public static void main(String[] args) 
	{
		JWindow window = new JWindow();
		JLabel label = new JLabel("Hello World !");
		
		/* We give a size to see the window */
		window.setSize(300, 200);
		window.setLocation(100, 300);
		window.getContentPane().add(label,BorderLayout.WEST);
		window.setVisible(true);
	}

}

